package com.zengdada.authority.controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther: 12614
 * @Contact: 1261438511@qq.com
 * @Date: 2018/11/25 21:03
 * @Description:
 */
@Api(hidden = true)
@Controller
@RequestMapping("/authority/test")
public class TestController {
    @RequestMapping("/{path}")
    public String page(@PathVariable String path) {
        return "authority/test/" + path.split("\\.")[0];
    }
}
